home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Genie / Projects / AEA / Source / Includes / AEAAppleEvent.hh < prev    next >
Encoding:
Text File  |  2000-06-24  |  655 b   |  28 lines

  1. /*    ================
  2.  *    AEAAppleEvent.hh
  3.  *    ================
  4.  *    
  5.  *    Implemented by AEAAppleEvent.cc
  6.  */
  7.  
  8. #pragma once
  9.  
  10. #include "NGLList.hh"
  11. #include "AEADescAppleEvent.hh"
  12.  
  13. class AEAAppleEvent {
  14. public:
  15.     AEAAppleEvent(const AppleEvent &inAppleEvent);
  16.     virtual ~AEAAppleEvent();
  17.     
  18.     virtual void Send(AESendMode inReplyMode, AEIdleUPP &inAEIdleUPP);
  19.     virtual void GetReply(AppleEvent &outReply) {outReply = mReply;}
  20.     virtual void GetReply(AEADescAppleEvent &outReply) {outReply.Duplicate(mReply);}
  21.     //virtual Boolean ReplyReceived();
  22. protected:
  23.     AppleEvent mAppleEvent, mReply;
  24.     Boolean mSent;
  25. protected:
  26.     static NGLList<AEAAppleEvent *> sWaitingEvents;
  27. };
  28.